package com.qsboss.demo.service;

import com.github.pagehelper.PageInfo;
import com.qsboss.demo.domain.Result;
import com.qsboss.demo.pojo.TbBill;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import java.io.FileNotFoundException;
import java.io.IOException;

/**
 * @author 军哥
 * @version 1.0
 * @description: TODO
 * @date 2023/10/25 10:33
 */

public interface TbBillService {
    PageInfo getBillByPage(int curPage, int pageSize);
    PageInfo getBillInCustomerByPage(int curPage, int pageSize, Integer customerId);
    Result submitClose(Integer billId);
    TbBill getBillById(Integer billId);
    Result setAckMail(Integer billId, int i);
    Result setMailSend(Integer billId, int flag);
    TbBill randomBill();
    void addBill(TbBill tbBill);
    Result getCustomerNeedPay();
    HSSFWorkbook exportBill(String billDate) throws IOException;
    int setBillPayAck(Integer billId, Integer ack);
}
